package com.xiaoning.sun.spring.mvc.model;

import com.xiaoning.sun.spring.mvc.annotation.ValidatorAnnotation;

public class RegisterForm {
	private Long userId;
	@ValidatorAnnotation(propertyKey="NotEmpty.userForm.userName",defaultAlertMessage="Please Enter User Name", notNullAble=true, regexExpression="[0-9]*",description="用户名格式不合法")
	private String userName;
	private String password;
	private String confirmPassword;
	private String email;
	private String mobileNo;
	private String nickName;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getConfirmPassword() {
		return confirmPassword;
	}
	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getMobileNo() {
		return mobileNo;
	}
	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
}
